package com.kj.tms.common.utils.excel.easy.excel.parsing;

/**
 * Excel 导入时产生的错误消息
 * @author 董世栋
 */
public class ExcelError {

	/** 第几行 */
	private int row;
	/** 错误消息 */
	private String errorMsg;
	/**
	 * sheet名称
	 */
	private String sheetName;

	public ExcelError(int row,String errorMsg) {
		this.row = row;
		this.errorMsg = errorMsg;
	}

	public int getRow() {
		return row;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public ExcelError (String sheetName, int row, String errorMsg) {
		this.row = row;
		this.sheetName = sheetName;
		this.errorMsg = "[" + sheetName +"]的" + errorMsg;
	}
}
